package org.bright.service.Impl;

import org.bright.entity.BookCategory;
import org.bright.mapper.BookCategoryMapper;
import org.bright.service.BookCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookCategoryServiceImpl implements BookCategoryService {
    @Autowired
    private BookCategoryMapper bookCategoryMapper;
    @Override
    public List<BookCategory> selectAll() {
        return bookCategoryMapper.selectAll();
    }
}
